##=============================================================================
##
##  Copyright (c) Kitware, Inc.
##  All rights reserved.
##  See LICENSE.txt for details.
##
##  This software is distributed WITHOUT ANY WARRANTY; without even
##  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
##  PURPOSE.  See the above copyright notice for more information.
##
##  Copyright 2012 Sandia Corporation.
##  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
##  the U.S. Government retains certain rights in this software.
##
##=============================================================================

set(headers
  Testing.h
  TestingDeviceAdapter.h
  TestingGridGenerator.h
  )

dax_declare_headers(${headers})

set(unit_tests
  UnitTestArrayContainerControlBasic.cxx
  UnitTestArrayContainerControlImplicit.cxx
  UnitTestArrayHandle.cxx
  UnitTestArrayHandleConstant.cxx
  UnitTestArrayHandleCounting.cxx
  UnitTestArrayHandleImplicit.cxx
  UnitTestArrayHandlePermutation.cxx
  UnitTestArrayHandleTransform.cxx
  UnitTestBuildReductionMap.cxx
  UnitTestContTesting.cxx
  UnitTestDeviceAdapterAlgorithmDependency.cxx
  UnitTestDeviceAdapterAlgorithmGeneral.cxx
  UnitTestDeviceAdapterSerial.cxx
  UnitTestDispatch.cxx
  UnitTestGenerateKeysValuesPermutation.cxx
  UnitTestGenerateTopologyPermutation.cxx
  UnitTestInterpolatedCellPermutation.cxx
  UnitTestTimer.cxx
  UnitTestUniformGrid.cxx
  UnitTestUnstructuredGrid.cxx
  UnitTestVectorOperations.cxx
  )
dax_unit_tests(SOURCES ${unit_tests})

#test all worklets with the serial device adapter
dax_worklet_unit_tests( DAX_DEVICE_ADAPTER_SERIAL )
